#-*- coding:utf-8 -*-

# if __name__ == '__main__':
#     print "hello,world"

import sys

def exitfunc():
    print "world"

sys.exitfunc = exitfunc

print "hello"
sys.exit(1)
print "there"

